<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="vue.js"></script>
    <script src="index.js"></script>
    <link rel="stylesheet" href="index.css">
    <style>
        .el-header, .el-footer {
            background-color: #B3C0D1;
            color: #333;
            text-align: right;
            line-height: 60px;
        }

        .el-aside {
            background-color: #D3DCE6;
            color: #333;
            text-align: center;
            line-height: 200px;
        }

        .el-main {
            background-color: #E9EEF3;
            color: #333;
            text-align: center;
        }

        /*找到html标签、body标签，和挂载的标签*/
        /*都给他们统一设置样式*/
        html,body,.el-container{
            /*设置内部填充为0，几个布局元素之间没有间距*/
            padding: 0px;
            /*外部间距也是如此设置*/
            margin: 0px;
            /*统一设置高度，高度自行调整*/
            height: 600px;
        }

    </style>
    <style>
        .el-dropdown-link {
            cursor: pointer;
            color: #409EFF;
        }
        .el-icon-arrow-down {
            font-size: 12px;
        }
    </style>
</head>
<body>
<div id="app">
    <el-container>

        <el-header>

            <el-dropdown>
                <el-button type="primary">
                    用户中心<i class="el-icon-arrow-down el-icon--right"></i>
                </el-button>
                <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>查看账号详情</el-dropdown-item>
                    <el-dropdown-item>编辑信息</el-dropdown-item>
                    <el-dropdown-item>注销账号</el-dropdown-item>
                    <el-dropdown-item>重新登陆</el-dropdown-item>
                    <el-dropdown-item>退出</el-dropdown-item>
                </el-dropdown-menu>
            </el-dropdown>

        </el-header>


        <el-container>

            <el-aside>
                <el-menu
                        default-active="2"
                        class="el-menu-vertical-demo">
                    <el-submenu index="1">
                        <template slot="title">
                            <i class="el-icon-location"></i>
                            <span>会员管理</span>
                        </template>
                        <el-menu-item-group>
                            <el-menu-item index="1-1"><a href="data.html" target="hyda">会员档案</a></el-menu-item>
                            <el-menu-item index="1-2"><a href="#">体检上传</a></el-menu-item>
                            <el-menu-item index="1-3"><a href="#">会员统计</a></el-menu-item>
                        </el-menu-item-group>
                    </el-submenu>

                    <el-submenu index="2">
                        <template slot="title">
                            <i class="el-icon-location"></i>
                            <span>预约管理</span>
                        </template>
                        <el-menu-item-group>
                            <el-menu-item index="2-1">预约列表</el-menu-item>
                            <el-menu-item index="2-2">预约设置</el-menu-item>
                            <el-menu-item index="2-3">套餐管理</el-menu-item>
                            <el-menu-item index="2-4">检查组管理</el-menu-item>
                            <el-menu-item index="2-5">检查项管理</el-menu-item>
                        </el-menu-item-group>
                    </el-submenu>

                    <el-submenu index="3">
                        <template slot="title">
                            <i class="el-icon-location"></i>
                            <span>健康评估</span>
                        </template>
                        <el-menu-item-group>
                            <el-menu-item index="3-1">中医体质辨识</el-menu-item>
                        </el-menu-item-group>
                    </el-submenu>

                    <el-submenu index="4">
                        <template slot="title">
                            <i class="el-icon-location"></i>
                            <span>统计分析</span>
                        </template>
                        <el-menu-item-group>
                            <el-menu-item index="4-1">工作量统计</el-menu-item>
                        </el-menu-item-group>
                    </el-submenu>

                </el-menu>

            </el-aside>

            <el-main>
                <iframe src="http://www.jd.com"  name="hyda"  width="100%" height="100%" frameborder="0"></iframe>
                <el-pagination
                        background
                        @current-change="currentChange"
                        @size-change="sizeChange"
                        layout="prev,sizes, pager, next,jumper"
                        :page-sizes="[10, 20, 30, 40]"
                        :total="1000">
                </el-pagination>
            </el-main>

        </el-container>


        <el-container>
            <el-footer>

                底部区域

            </el-footer>
        </el-container>

    </el-container>
</div>
<script>
    let  vm = new Vue({
        el:"#app",
        data() {
            return {

            }
        },
        methods:{
            sizeChange(pageSize){
                alert(pageSize);
            },
            currentChange(page){
                alert(page)
            }
        }

    })
</script>
</body>
</html>